package com.template.domain.param;

import com.template.common.lang.Const;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

public class RoleParams {

    @Getter
    @Setter
    @ToString
    public static class AssignPerms {
        @NotNull(message = Const.Error.PARAMS_INVALID)
        Long roleId;
        @NotNull(message = Const.Error.PARAMS_INVALID)
        List<Long> permsIds;
    }
}
